package com.smartfactory.sail.vo.item;

import com.smartfactory.sail.entity.enums.ItemStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 王巨壁
 * @title: ListItemResp
 * @projectName smart-sail
 * @description: 产品列表
 * @date 2019/8/222:22
 */
@Data
public class ListItemResp {

    private Long id;

    @ApiModelProperty(value = "产品编码")
    private String code;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "产品描述")
    private String info;


    @ApiModelProperty(value = "规格型号")
    private String specification;

    @ApiModelProperty(value = "状态0在产1停产参考constants表")
    private ItemStatusEnum status;


    @ApiModelProperty(value = "图纸编号")
    private String drawingCode;

    @ApiModelProperty(value = "材料质地")
    private String texture;

    @ApiModelProperty(value = "材质编码")
    private String textureCode;

    @ApiModelProperty(value = "1产品2原料具体参考constants")
    private Integer itemMode;

    @ApiModelProperty(value = "类型id-参考item_type表")
    private Long itemTypeId;

    @ApiModelProperty(value = "质量")
    private String quality;

    @ApiModelProperty(value = "报废率百分比")
    private Integer scrapRate;

    @ApiModelProperty(value = "质保时间单位:天")
    private Integer guaranteePeriod;

    @ApiModelProperty(value = "领取上限")
    private Integer receiveUpperLimit;

    @ApiModelProperty(value = "多个生产图纸id用符号|隔开")
    private String productDrawings;

    @ApiModelProperty(value = "客户图纸多个用|隔开")
    private String custDrawings;

    @ApiModelProperty(value = "技术图纸多个用|隔开")
    private String technicalDrawings;

    @ApiModelProperty(value = "供应商列表用|隔开")
    private String suppliers;

}
